home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Prog / M / MovesMemFKey.cpt / MovesMemFKEY.doc next >
Text File  |  1988-07-05  |  2KB  |  29 lines

  1. MovesMemFKey        v1.0.1        7/3/88
  2.  
  3. ©1988 by William J. Bock There is no charge for use of this FKey, but I reserve all rights. MovesMemFKey may be freely distributed, but not sold, if accompanied by this documentation.
  4.  
  5. This FKey is written in the fabulous LightSpeed® Pascal. Therefore, portions are ©1986 by Think
  6. Technologies, Inc.
  7.  
  8. About MovesMemFKey
  9.  
  10. I frequently find myself looking up a Mac routine to see whether it moves memory.  Although Apple's I-M
  11. XReference makes this somewhat easier, it is still a tedious process.  So, I decided to try to make it a little easier.  This FKEY is the result.
  12.  
  13. This FKEY works by comparing the contents of the Clipboard to a list of routines (contained in the MmK1
  14. resource) that move memory.  To use it select the routine name from your source and copy it to the
  15. Clipboard.  Then invoke the FKEY.  The FKEY takes care of uppercase characters, but don't include leading or trailing spaces or punctuation, or MovesMemFKey won't be able to match the name.  If a match is found, meaning the routine moves memory, the Mac will beep TWICE.  If the routine does not move memory, it will beep ONCE.  If an error occurs (a Resource or Memory Manager error, or the Clipboard contains no text), the Mac will beep THREE times.
  16.  
  17. I install both the FKEY and MmK1 the FKEY with ResEdit.  I have the key installed in a 'suitcase' file and use it with Suitcase® and Carlos Weber's 'Pop-Keys', but it should work as well  installed directly in the system or with Font/DA Juggler® so long as both resources are installed.
  18.  
  19. The FKEY uses GetNamedResource to get a handle to the MmK1 resource, on the chance that it might get renumbered.  If the name of the MmK1 resource is changed from 'MovesMemKeyList', it simply won't work.
  20.  
  21. MovesMemFKey could conceivably be used to check the Clipboard contents against other lists by installing a different list in the MmK1 resource.  The size and contents of the resource aren't important to the operation of the FKEY.
  22.  
  23. Although I'm not asking for any money for MovesMemFKEY, I would greatly appreciate bug reports,
  24. comments and suggestions or just hearing that someone is using it.  I can be reached at
  25.  
  26.                      GEnie:  LINDSAY
  27.                     CompuServe:  73260,1174
  28.  
  29. Jeff Bock